/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ta.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ta.entity.StWeihu;
import com.thinkgem.jeesite.modules.ta.dao.StWeihuDao;

/**
 * 附件Service
 * @author TTAO
 * @version 2017-06-05
 */
@Service
@Transactional(readOnly = true)
public class StWeihuService extends CrudService<StWeihuDao, StWeihu> {

	public StWeihu get(String id) {
		return super.get(id);
	}
	
	public List<StWeihu> findList(StWeihu stWeihu) {
		return super.findList(stWeihu);
	}
	
	public Page<StWeihu> findPage(Page<StWeihu> page, StWeihu stWeihu) {
		return super.findPage(page, stWeihu);
	}
	
	@Transactional(readOnly = false)
	public void save(StWeihu stWeihu) {
		super.save(stWeihu);
	}
	
	@Transactional(readOnly = false)
	public void delete(StWeihu stWeihu) {
		super.delete(stWeihu);
	}
	
}